2.
In order to breathe, the ribs go up and down as shown in the diagram. Notice that during the inspiration, the ribs go up and become almost horizontal, thereby pushing the sternum in front and increasing the distance between the spine and the sternum. When you expire, the opposite happens.